<%@ page language="java" contentType="text/html; charset=iso-8859-1" pageEncoding="ISO-8859-1"%>

<% 
int erro = 0;
if(request.getParameter("erro") != null){
	erro = Integer.parseInt(request.getParameter("erro"));
}

%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SGCI FCMMG ::</title>
	<style type="text/css">
	<!--
	@import url("css/estilo.css");
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
	}
	-->
	</style>
<script>
function setFocus(){
	document.form1.nome.focus();
}

<!-- teste de atualizacao -->
</script>
</head>
<body background="imagens/fundo.gif" style="background-attachment:fixed">
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  		<tr>
    		<td height="7">
            	<jsp:include page="include/topoIndex.jsp" flush="true" />
        	</td>
  		</tr>
  		<tr>
    		<td valign="top">
            	<table width="100%" border="0" cellspacing="0" cellpadding="0" >
      				<tr>
        				<td height="60">
                        	<table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
            					<tr>
              						<td width="76%" class="titulo"><b>Area de Login</b></td>
              						<td width="24%" class="texto">&nbsp;
              							
              						</td>
            					</tr>
        					</table>
                     	</td>
      				</tr>
      				<tr>
        				<td valign="top">
                        	<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          						<tr>
            						<td>
                                    	<fieldset style="border-color:#003366">
            								<legend class="texto"><strong>Credenciais</strong>
             								</legend><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
               									<tr>
                 									<td align="center">
                                                    	<form name="form1" action="Service" method="post" >
                                                    		<p>&nbsp;</p>
                                                    		<table width="380" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
                                                           	  <tr>
                                                                	<td width="65">&nbsp;</td>
                                                                    <td width="206">&nbsp;</td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" class="texto">Login: &nbsp;</td>
                                                                    <td><label for="login"></label>
                                                                    <input name="login" type="text" id="login" tabindex="1" maxlength="25" width="32"></td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" class="texto">Senha: &nbsp;</td>
                                                                    <td><label for="senha"></label>
                                                                    <input name="senha" type="password" id="senha" tabindex="2" maxlength="25" width="32"></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>&nbsp;</td>
                                                                    <td>&nbsp;</td>
                                                                </tr>
                                                                <% if(erro > 0){  %>
                                                                <tr>
                                                                    <td colspan="2" align="center" class="texto_atencao"> Erro ao tentar validar, favor verificar sua digitacao.</td>
                                                                </tr>
                                                                <%} %>
                                                                <tr>
                                                                    <td>&nbsp;</td>
                                                                    <td><input name="acao" type="hidden" value="logar"><input name="classe" type="hidden" value="org.feluma.sgci.controle.UsuarioControle"></td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2" align="center"><input name="logar" type="submit" class="botao" id="logar" tabindex="3" value="Logar"></td>
                                                                </tr>
                                                                <tr>
                                                                    <td>&nbsp;</td>
                                                                    <td>&nbsp;</td>
                                                                </tr>
                                                         	</table>
                                                    		<p>&nbsp;</p>
                                                      </form>
                                             		</td>
               									</tr>
             								</table>
            							</fieldset>
                                   	</td>
          						</tr>
        					</table>
                      	</td>
      				</tr>
      				<tr>
        				<td>&nbsp;</td>
      				</tr>
    			</table>
          	</td>
  		</tr>
  		<tr>
    		<td height="15">
	    		<jsp:include page="include/rodape.jsp" flush="true" />	    		
    		</td>
  		</tr>
	</table>
<script> document.form1.login.focus();</script>	
</body>
</html>